[INFO] cloning repository https://github.com/PonasKovas/incro
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PonasKovas/incro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPonasKovas%2Fincro", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPonasKovas%2Fincro'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c9f758391226c37d8f7a979b375c16697d4e1140
[INFO] fixing PonasKovas/incro against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPonasKovas%2Fincro" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/PonasKovas/incro
[INFO] finished tweaking git repo https://github.com/PonasKovas/incro
[INFO] tweaked toml for git repo https://github.com/PonasKovas/incro written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/PonasKovas/incro on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/PonasKovas/incro already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 13e4a72d1e8912f7f190e89c3ed73c2e20c460318f72bcf4d3001f067ed2d322
[INFO] running `Command { std: "docker" "start" "13e4a72d1e8912f7f190e89c3ed73c2e20c460318f72bcf4d3001f067ed2d322", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "13e4a72d1e8912f7f190e89c3ed73c2e20c460318f72bcf4d3001f067ed2d322" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "13e4a72d1e8912f7f190e89c3ed73c2e20c460318f72bcf4d3001f067ed2d322", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "13e4a72d1e8912f7f190e89c3ed73c2e20c460318f72bcf4d3001f067ed2d322" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating incro-bin/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating macro-template/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]     Checking libloading v0.8.1
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking path-dedot v3.1.1
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking walkdir v2.4.0
[INFO] [stderr]     Checking path-absolutize v3.1.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking tracing-log v0.1.4
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]     Checking nix v0.23.2
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking mio v0.8.9
[INFO] [stderr]     Checking filetime v0.2.22
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking notify v6.1.1
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking evdev v0.12.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.17
[INFO] [stderr]     Checking incro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/event_sender.rs (3 fixes)
[INFO] [stderr]     Checking macro-template v0.1.0 (/opt/rustwide/workdir/macro-template)
[INFO] [stderr]    Migrating macro-template/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking incro-bin v0.1.0 (/opt/rustwide/workdir/incro-bin)
[INFO] [stderr]    Migrating incro-bin/src/main.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.14s
[INFO] [stderr] crater-edition-check: incro-bin v0.1.0 (/opt/rustwide/workdir/incro-bin) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: incro v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: macro-template v0.1.0 (/opt/rustwide/workdir/macro-template) updating edition from 2021 to 2024
[INFO] [stderr]     Checking incro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/event_sender.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe extern "C" fn send(channel: *const (), events: *const InputEvent, event_n: usize) { unsafe {
[INFO] [stdout]    |                                                                                                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 21 |                 .send(unsafe { std::slice::from_raw_parts(events, event_n).to_vec() })
[INFO] [stdout]    |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/event_sender.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe extern "C" fn send(channel: *const (), events: *const InputEvent, event_n: usize) { unsafe {
[INFO] [stdout]    |                                                                                                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 21 |                 .send(unsafe { std::slice::from_raw_parts(events, event_n).to_vec() })
[INFO] [stdout]    |                       ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking macro-template v0.1.0 (/opt/rustwide/workdir/macro-template)
[INFO] [stderr]     Checking incro-bin v0.1.0 (/opt/rustwide/workdir/incro-bin)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]  --> macro-template/src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | incro::incro!(Mutex<State>, on_event);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `incro::incro` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]  --> src/macro.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |             #[unsafe(no_mangle)]
[INFO] [stdout]   |               +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> macro-template/src/lib.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | incro::incro!(Mutex<State>, on_event);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `incro::incro` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]   --> src/macro.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |             #[unsafe(no_mangle)]
[INFO] [stdout]    |               +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]  --> macro-template/src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | incro::incro!(Mutex<State>, on_event);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `incro::incro` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]  --> src/macro.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |             #[unsafe(no_mangle)]
[INFO] [stdout]   |               +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> macro-template/src/lib.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | incro::incro!(Mutex<State>, on_event);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `incro::incro` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]   --> src/macro.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |             #[unsafe(no_mangle)]
[INFO] [stdout]    |               +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `macro-template` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `macro-template` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "13e4a72d1e8912f7f190e89c3ed73c2e20c460318f72bcf4d3001f067ed2d322", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13e4a72d1e8912f7f190e89c3ed73c2e20c460318f72bcf4d3001f067ed2d322", kill_on_drop: false }`
[INFO] [stdout] 13e4a72d1e8912f7f190e89c3ed73c2e20c460318f72bcf4d3001f067ed2d322
